package com.jiyun.gongsi.service.imp;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.gongsi.mapper.GoogsMapper;
import com.jiyun.gongsi.service.GoogsService;
import com.jiyun.pojo.good.Gong;
import com.jiyun.pojo.result.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 文件名:GoogsServiceImp
 * 创建者: 闫俊涛
 * 创建时间:2022/6/27 15:53
 * 描述:这是一个实例
 */
@Service
public class GoogsServiceImp extends ServiceImpl<GoogsMapper, Gong>  implements GoogsService {
   @Autowired
   private  GoogsMapper  googsMapper;


    @Override
    public List<Gong> listByid(Integer id) {
     return  googsMapper.selecByid(id);
    }


}
